package com.okaixz.client.service;

import com.okaixz.client.model.domain.PwdInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.okaixz.client.model.domain.PwdTagInfo;
import com.okaixz.client.model.dto.PwdSaveAllParams;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdz
 * @since 2025-09-17
 */
public interface IPwdInfoService extends IService<PwdInfo> {


    PwdInfo addPwdInfo(PwdInfo pwdInfo);

    List<PwdInfo> uploadAll(List<PwdInfo> pwdInfoList);

    PwdSaveAllParams downloadAll();

    Boolean deleteAll(List<Long> ids);

    //删除标签
    @Transactional
    boolean deleteTag(PwdTagInfo pwdTagInfo);
}
